import type { RouteRecordRaw } from 'vue-router'

import type { CategoryObj } from '@/api/product/attr/type'
// 定义用户仓库数据state类型
export interface UserState {
  token: string | null
  menuRoutes: RouteRecordRaw[]
  username: string
  avatar: string
}
// 定义分类对象仓库数据state类型
export interface CategoryState {
  category1List: CategoryObj[]
  category2List: CategoryObj[]
  category3List: CategoryObj[]
  category1Id: string | number
  category2Id: string | number
  category3Id: string | number
}
